package com.cmc.cloud.cmclink.doc.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.cmes.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * {table.classComment}分页 Request VO
 * 
 * @author codegen
 */
@Schema(description = "管理后台 - 航线进出口联系人信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AgentContactPageReqVO extends PageParam {

    @Schema(description = "航线代码")
    private String laneCode;

    @Schema(description = "港口代码")
    private String portCode;

    @Schema(description = "用户数据代码")
    private String agentCode;

    @Schema(description = "进出口类型", example = "1")
    private String datatype;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "数据类型")
    private String optTp;

    @Schema(description = "数据内容本地")
    private String contentLocal;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime createTime;

    @Schema(description = "数据内容英文")
    private String contentEn;

    @Schema(description = "关键词")
    private String keyWord;

    @Schema(description = "操作时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @Schema(description = "操作人", requiredMode = Schema.RequiredMode.REQUIRED)
    private String updater;

}
